<template>
  <div>
    <a-menu v-model="current" mode="horizontal">
      <a-menu-item key="register"  @click="$router.replace({name: 'register'})"> register </a-menu-item>
      <a-menu-item key="login" @click="$router.replace({name: 'login'})"> login</a-menu-item>
    </a-menu>
  </div>
</template>
<script>
export default {
  data() {
    return {
      current: [],
    };
  },
};
</script>
